package com.htdata.iiot.api.tsdb;

import java.text.SimpleDateFormat;
import java.util.Date;

import com.htdata.iiot.api.tsdb.pojo.DeviceNumber;

public class sasas {

	public static void main(String[] args) {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd 00:00:00");
		String startTime = sdf.format(new Date());
		System.out.println(startTime);
		
		
		//1,14,74
		String hexString = new DeviceNumber(60,29407,224700).toHexString();
		String base64String = new DeviceNumber(60,29407,224700).toBase64String();
		
		System.out.println(hexString);
		System.out.println(base64String);
		
		//AAAAAQAAAA4AAAAAAAAASg== 
	
	}
}
